package ar.com.main;

import java.util.List;

import ar.com.dao.DeptoDAO;
import ar.com.dao.DeptoDAOImpl;
import ar.com.dto.DeptoDTO;

public class Test {

	public static void main(String[] args) {
		
			DeptoDAO d = new DeptoDAOImpl();
			
			List<DeptoDTO> dDto = d.buscar(1);
			
			for(int i = 0; i < dDto.size(); i++)
			{
				System.out.println(dDto.get(i).getDeptno());
				System.out.println(dDto.get(i).getDname());
				System.out.println(dDto.get(i).getLoc());
			}
			
			
		}
		
}
